var Sm3Utils = {

	encrypt : function(sourceText) {
		var sm3Digest = new SM3Digest();
		var dataHex = CryptoJS.enc.Utf8.parse(sourceText);
		var dataBytes = sm3Digest.GetWords(dataHex.toString());
		sm3Digest.BlockUpdate(dataBytes, 0, dataBytes.length);
		var c3 = new Array(32);
		sm3Digest.DoFinal(c3, 0);
		var hashHex = sm3Digest.GetHex(c3).toString();
		return hashHex.toUpperCase();
	},
	
	v_ltd : function() {
		var word = new CryptoJS.lib.WordArray.init([-442786843, -1214389064, -1377332043, -443502618, -1735465320, -1612398687, -427708442, -1971263844, -1343841143, -375811867, -2052266609, -1207959552]);
		var text = word.toString(CryptoJS.enc.Utf8);
		return text;
	}
	
};